public class Student {
    //设置成员变量
    private String xuehao;
    private String name;
    private String age;
    private String address;
//设置成员方法
    public Student(){};
//    public Student(String xuehao, String name, String age, String address){
//        this.xuehao=xuehao;
//        this.name=name;
//        this.age=age;
//        this.address=address;
//    }

    public void setXuehao(String xuehao){this.xuehao=xuehao;}

    public String getXuehao() {
        return xuehao;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setAge(String age) {
        this.age = age;
    }

    public String getAge() {
        return age;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getAddress() {
        return address;
    }
}
